Book Contents

Troubleshooting for the Unicode text file import operation

The following table shows the common error messages and their remedies while importing a Unicode text file. x is the line number in the text file.

Error messages

Descriptions

File "FileName", Line x. ComponentType is not a valid component type for the application. The string was not imported.

This error is logged if the component type has been modified in the text file.

Open the text file and correct the text for the component type.

File "FileName", Line x. ComponentName is not a valid component for the application. The string was not imported.

This error is logged if the component name has been modified in the text file.

Open the text file and correct the text for the component name.

File "FileName", Line x. The string reference must be an unsigned long integer value between 1 and 4294967295. The string was not imported.

This error is logged if the string reference number has been modified in the text file, and the new string reference number is invalid.

Open the backup text file and copy the correct text string reference number to the translated text file.

File "FileName", Line x. The string was not used in the application and was not imported.

This error is logged if:

  • The string reference number has been modified in the text file, and the new string reference number is not used in the application. Open the backup text file and copy the correct the string reference number into the translated text file.
  • The object was deleted from the application after the text was exported. If this is correct, ignore the error.

File "FileName", Line x. The string definition must be contained within double quotes. The string was not imported.

This error is logged if the translated string definition includes embedded double quotes, but the string definition itself was not enclosed in double quotes.

Open the text file and enclose all string definitions containing embedded double quotes in double quotes. For example, the string definition, Start "Backup motor", must be enclosed in double quotes like this: "Start "Backup motor"".

File "FileName", Line x. Invalid line format!

This error is logged if a line in the import file does not contain all the component name or string reference number fields. The import continues with the next line in the file.

Open the backup text file and copy the missing fields to the translated text file.

Unable to open {FileName.txt}. None of the strings from this file were imported.

This error is logged if the text file could not be opened.

Make sure that you can open the selected text file in Notepad or Microsoft Excel.

See also

Export text strings to a Unicode text file

Edit an exported Unicode text file in Excel

Edit an exported Unicode text file in Notepad

Import text strings from a Unicode text file